package aliens.tasks 
{
	import aliens.tasks.subTasks.SubTask;
	import flash.geom.Point;
	/**
	 * ...
	 * @author Jeroen Gildemacher
	 */
	public class Task 
	{
		protected var _lockedPixels:Vector.<Point>= new Vector.<Point>;		
		protected var _subTasks:Vector.<SubTask>;
		public function Task(subTasks:Vector.<SubTask> ) 
		{
			this._subTasks = subTasks;
		}
		
		public function get subTasks():Vector.<SubTask> 
		{
			return _subTasks;
		}
		
		public function set subTasks(value:Vector.<SubTask>):void 
		{
			_subTasks = value;
		}
		
		public function get lockedPixels():Vector.<Point> 
		{
			return _lockedPixels;
		}

		public function set lockedPixels(lockedPix:Vector.<Point> ):void
		{
			_lockedPixels=lockedPix;
		}
		
		public function addLockedpixels(p:Point):void {
			_lockedPixels.push(p);
		}
		
		
		
	}

}